package com.maimao.core.model.resp;

/**
 * 认证(登录)成功返回的结果
 * @author MaoLin Wang
 * @date 2020/11/30 11:11 上午
 */
public class AuthResult<T> extends Result<T> {
    public AuthResult(int code, T data, boolean flag, String message) {
        super(code, data, flag, message);
    }

    public AuthResult() {
    }

    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "AuthResult{" +
                "token='" + token + '\'' +
                '}';
    }
}
